projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5657b80
)
gtk-demo: Use primary-toolbar style in the application example
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 13 Jan 2014 01:12:31 +0000
(20:12 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 13 Jan 2014 03:25:19 +0000
(22:25 -0500)
Adwaita correctly restricts window-dragging to primary toolbars,
Mark our toolbar as primary to test this.
demos/gtk-demo/application.ui
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/application.ui
b/demos/gtk-demo/application.ui
index a0801f5de0552655c2872fbe3f97cc7c5acf1345..68757a94cdfe3b51d7f8ccc742be8e816ee9a5a7 100644
(file)
--- a/
demos/gtk-demo/application.ui
+++ b/
demos/gtk-demo/application.ui
@@
-6,6
+6,9
@@
<property name="orientation">horizontal</property>
<property name="halign">fill</property>
<property name="hexpand">True</property>
+ <style>
+ <class name="primary-toolbar"/>
+ </style>
<child>
<object class="GtkMenuToolButton" id="menutool">
<property name="icon-name">document-open</property>